.container {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  min-height: 0;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  padding: 1rem 0.5rem;
  overflow: auto;
}

[data-tab-container-size="xs"],
[data-tab-container-size="sm"] {
  .cards {
    padding: 0.5rem 0.25rem;
  }
}